<template>
	<div class="signup">
		<h1 class="signin_title">用户注册</h1>
		<SignForm :type="type" :sendButtonMsg="sendButtonMsg" v-on:sendFormHandle="sendFormHandle" />
	</div>
</template>

<script>
	import SignForm from "../../components/user/sign-form.vue";
	export default {
		name: "SignUp",
		data:function(){
			return {
				type:"signup",
				sendButtonMsg: "注 册"
			}
		},
		components:{
			SignForm
		},
		methods:{
			sendFormHandle: function(v){
				console.log(v)
			}
		},
		created:function(){
			this.$emit("upLocalData", [{
				name: "type",
				value: "user"
			},{
				name: "channelName",
				value: "用户"
			}]);
		}
	}
</script>

<style lang="less">
	@base:23.44/1rem;
	.signup{
		min-height: 700/@base;
		background-color: #fff;
		h1{
			&.signin_title{
				font-size:26/@base;
				padding:20/@base;
				font-weight: 400;
				border-bottom:1/@base solid #efefef;
			}
		}
	}
</style>
